added functions to calculate time difference between two times
renamed function `splitTime' to `splitTimeString'
Commentary added