def find_corners(points):
    """Top left and bottom right corners of the points provided"""
    xmin = xmax = points[0][0]
    ymin = ymax = points[0][1]
    for point in points:
        xmax = max(xmax, point[0])
        xmin = min(xmin, point[0])
        ymax = max(ymax, point[1])
        ymin = min(ymin, point[1])
    return ((xmin,ymin),(xmax,ymax))