Update Pet.java

Added class editPet().