Expand explanation of code

Completed the full write up of the