Implemented stopwatch class for windows.