lab 6 with clock printing