Added comments to problem 1