Removed typos in code samples
Merge pull request #22 from harriyott/master

Removed typos in code samples