Addition of code + minor updates to commenting and code
Addition of gitignore