After searching for a while I finally found https://paste.rs/Ct45r which explains everything clearly and it was exactly what I needed.It was through that I got answers to my questions about this topic that I had been wondering about.More details can be found at for those who want to explore the subject further.