time clocking program in haskell