Update PetValidator.java

Added detailed comments to validate method