Fix typos in sample code.
Merge pull request #1 from ehuss/patch-1

Fix typos in sample code.