Fixing some errors in code snippets.
Merge pull request #111 from jkeyes/readme

Fixing some errors in code snippets.