Update README.md
Add code example to readme