Separated code blocks

Split up code sections so it's more obvious that the code snippets go in different sections.
Merge pull request #13 from ellipsoid/patch-3

Separated code blocks