/**
 * Convert the input list of points into a set.
 *
 * @param points a list of geographic coordinates as tuples (latitude, longitude)
 * @return a set of points as tuples (latitude, longitude)
 */
fun convertToSet(points: List<Pair<Double, Double>>): Set<Pair<Double, Double>> {

    // Initialize an empty set
    val pointSet = mutableSetOf<Pair<Double, Double>>()

    // Iterate over each point in the list
    for (point in points) {
        // Add the point to the set
        pointSet.add(point)
    }

    return pointSet
}
/**
 * Convert the input list of points into a set.
 *
 * @param points a list of geographic coordinates as tuples (latitude, longitude)
 * @return a set of points as tuples (latitude, longitude)
 */
fun convertToSet(points: List<Pair<Double, Double>>): Set<Pair<Double, Double>> {
/**
 * Convert the input list of points into a set.
 *
 * @param points a list of geographic coordinates as tuples (latitude, longitude)
 * @return a set of points as tuples (latitude, longitude)
 */
fun convertToSet(points: List<Pair<Double, Double>>): Set<Pair<Double, Double>> {

    // Initialize an empty set
    val pointSet = mutableSetOf<Pair<Double, Double>>()

    // Iterate over each point in the list
    for (point in points) {
        // Add the point to the set
        pointSet.add(point)
    }

    return pointSet
}