Code for a clock I am building