added stopwatch code

stopwatch code