def det_dist(coord, coord_2):
    """
    Determine the euclidean distance between two points.
    """
    d_x = coord_2[0] - coord[0]
    d_y = coord_2[1] - coord[1]
    return (d_x**2 + d_y**2)**(0.5)