Updated Readme.md with code snippets