Update README.md

Fixing typos in example code
Merge pull request #1 from davisford/patch-1

Update README.md