Added a stopwatch class with tests