Fixes code examples in README
Merge pull request #18 from bluele/fixReadme

Fixes code examples in README