add code examples to readme