Create Pet.java

can't remember if this compiles