Comments Added

Added some comments to code