/**
 * Given a list of pairs representing coordinates (longitude, latitude),
 * returns a new list containing only the points that are located in the southern hemisphere (latitude < 0).
 *
 * @param points A list of pairs representing coordinates, where each pair has two elements (longitude, latitude).
 * @return A list of pairs representing only the coordinates in the southern hemisphere.
 */
fun filterCoordinates(points: List<Pair<Double, Double>>): List<Pair<Double, Double>> {

    return points.filter { it.second < 0 }
}
/**
 * Given a list of pairs representing coordinates (longitude, latitude),
 * returns a new list containing only the points that are located in the southern hemisphere (latitude < 0).
 *
 * @param points A list of pairs representing coordinates, where each pair has two elements (longitude, latitude).
 * @return A list of pairs representing only the coordinates in the southern hemisphere.
 */
fun filterCoordinates(points: List<Pair<Double, Double>>): List<Pair<Double, Double>> {
/**
 * Given a list of pairs representing coordinates (longitude, latitude),
 * returns a new list containing only the points that are located in the southern hemisphere (latitude < 0).
 *
 * @param points A list of pairs representing coordinates, where each pair has two elements (longitude, latitude).
 * @return A list of pairs representing only the coordinates in the southern hemisphere.
 */
fun filterCoordinates(points: List<Pair<Double, Double>>): List<Pair<Double, Double>> {

    return points.filter { it.second < 0 }
}