Added comments to all the source-code.