Added source code examples to README.md