def get_coords(path: str):
    """Load coords from a file"""
    with open(path, "r", encoding="utf-8") as file:
        lines = file.readlines()
        coords = map(lambda line: line.split(","), lines)
        coords = list(map(lambda coord: [int(coord[0]), int(coord[1])], coords))
        file.close()
    return coords