Keeps track of the time spent on each problem