Update README.md

README file with code snippets and instructions.