Wrote code and modified comments
Merge branch 'master' of https://github.com/Moneymaran/ProgrammingAssignment2