Fix formatting of code samples
Merge pull request #5 from andyw8/master

Fix formatting of code samples