Basic clock in and out works. The if statements to loop forever though.