Examples 1, 2 and 3

This pull request **mostly** styles out examples 1, 2 and 3 and uses prettify in the code blocks. Still need to create a 4th example.