Added example code to README.md