adding code examples to readme