Start stopwatch function for bash.