Added code blocks

Hi Andrew,
Some important parts of coding were not being shown because I didn't properly include them into code blocks (~~~ stuff ~~~).

I just fixed that.