Update PetSimulator.java

add default case