Fixed code snippets in readme.md