/**
 * The function takes a list of species in a river and a list of selected species by an environmental scientist.
 * It checks whether all the selected species are present in the river.
 *
 * @param riverList A list of species available in the river.
 * @param selectedSpecies A list of species selected by the environmental scientist.
 * @return True if all the selected species are present in the river, False otherwise.
 */
fun checkSpeciesInRiver(riverList: List<String>, selectedSpecies: List<String>): Boolean {

    // Check if any selected species is not present in the river
    for (species in selectedSpecies) {
        if (species !in riverList) {
            return false
        }
    }
    return true
}
/**
 * The function takes a list of species in a river and a list of selected species by an environmental scientist.
 * It checks whether all the selected species are present in the river.
 *
 * @param riverList A list of species available in the river.
 * @param selectedSpecies A list of species selected by the environmental scientist.
 * @return True if all the selected species are present in the river, False otherwise.
 */
fun checkSpeciesInRiver(riverList: List<String>, selectedSpecies: List<String>): Boolean {
/**
 * The function takes a list of species in a river and a list of selected species by an environmental scientist.
 * It checks whether all the selected species are present in the river.
 *
 * @param riverList A list of species available in the river.
 * @param selectedSpecies A list of species selected by the environmental scientist.
 * @return True if all the selected species are present in the river, False otherwise.
 */
fun checkSpeciesInRiver(riverList: List<String>, selectedSpecies: List<String>): Boolean {

    // Check if any selected species is not present in the river
    for (species in selectedSpecies) {
        if (species !in riverList) {
            return false
        }
    }
    return true
}