added stopwatch and timer

these demonstrate use of the clock() and difftime() functions from
time.h