Creating a digital clock