Correct errors in the code snippet in README

...for easier copy pasting
Merge pull request #1 from KidkArolis/docs-fix-code-snippet

Correct errors in the code snippet in README