Fixed code samples
Merge pull request #39 from ianwalter/master

Fixed code samples in README.md