Added sample code to readme.md