Added some commenting
Committing changes to README file and extensive commenting in function file