Small program to create a graphical clock in using C/C++