A simple digital clock with stopwatch method