Update ifExercises.java