A simple stopwatch class with start, stop, reset and lap functions.