Class project, a simple clock interface