Updated PetValidator

Added detailed comments for validate method in PetValidator class