Added code sample to README.md