Added code examples to readme.md