Created StopWatch class for efficiency tests