Added comments and formatting to Clock