Added Code Snippet and Updated README File