how to make a stopwatch in python