def dist_euclidean_squared(coord1, coord2):
    """ euclidean distance between coord1 and coord2"""
    (x1, y1) = coord1
    (x2, y2) = coord2
    return (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2)