Final working clock

Completed coding the clock elements with no errors.