/**
 * This function returns the veterinary records of animals of a specific species
 */
fun getSpeciesRecords(records: List<List<String>>, species: String): List<List<String>> {

    val speciesRecords = mutableListOf<List<String>>()
    for (record in records) {
        if (record[2] == species) {
            speciesRecords.add(record)
        }
    }
    return speciesRecords
}
/**
 * This function returns the veterinary records of animals of a specific species
 */
fun getSpeciesRecords(records: List<List<String>>, species: String): List<List<String>> {
/**
 * This function returns the veterinary records of animals of a specific species
 */
fun getSpeciesRecords(records: List<List<String>>, species: String): List<List<String>> {

    val speciesRecords = mutableListOf<List<String>>()
    for (record in records) {
        if (record[2] == species) {
            speciesRecords.add(record)
        }
    }
    return speciesRecords
}