Added code examples to README.md