code examples added to readme