Added a timer and a class to output the results