a simple  java stopwatch