Fix code block markup.
Fix code examples.

fix formatting and consistency of the code examples
Some text fixes

i.e. fixed typos, added missing links
Merge pull request #259 from jdreesen/exercise-2-fixes

Exercise 2 fixes