turn your terminal window into a digital clock with ncurses