added snippets and readme file for snippets

modification to certain file names for better understanding