fix the reloj.java class and the simulator