Update timer.java

The calls for the exit were backwards. Ooops