/**
 * This function takes a set of veterinarian records and adds a new pet record to it.
 *
 * @param vetRecords Set of veterinarian records.
 * @param petName Name of the pet.
 * @param petType Type of the pet.
 * @param petAge Age of the pet.
 * @return Updated set of veterinarian records after adding the new pet record.
 */
fun addPetsVet(vetRecords: MutableSet<Triple<String, String, Int>>, petName: String, petType: String, petAge: Int): MutableSet<Triple<String, String, Int>> {

    val newPetRecord = Triple(petName, petType, petAge)
    vetRecords.add(newPetRecord)
    return vetRecords
}
/**
 * This function takes a set of veterinarian records and adds a new pet record to it.
 *
 * @param vetRecords Set of veterinarian records.
 * @param petName Name of the pet.
 * @param petType Type of the pet.
 * @param petAge Age of the pet.
 * @return Updated set of veterinarian records after adding the new pet record.
 */
fun addPetsVet(vetRecords: MutableSet<Triple<String, String, Int>>, petName: String, petType: String, petAge: Int): MutableSet<Triple<String, String, Int>> {
/**
 * This function takes a set of veterinarian records and adds a new pet record to it.
 *
 * @param vetRecords Set of veterinarian records.
 * @param petName Name of the pet.
 * @param petType Type of the pet.
 * @param petAge Age of the pet.
 * @return Updated set of veterinarian records after adding the new pet record.
 */
fun addPetsVet(vetRecords: MutableSet<Triple<String, String, Int>>, petName: String, petType: String, petAge: Int): MutableSet<Triple<String, String, Int>> {

    val newPetRecord = Triple(petName, petType, petAge)
    vetRecords.add(newPetRecord)
    return vetRecords
}