Fixes code examples in README
Merge pull request #1 from watilde/fixes-readme

Fixes code examples in README