added hexclock in c