Added code example to README.md