Updated readme.md with code examples.