Fix typos in code example.

Reported by [SiecleGitHub](https://github.com/SiecleGitHub)

Close #1