Fixed code examples in README.md