simple kitchen timer in Java