Added comments to the program