Comment  all of Source

Added comments in the source file to make it easier to understand