design and construction of a digital real time clock