Returns the square of distance between two input points
def sqDist ( p1 , p2 ) : NEW_LINE INDENT return ( ( p1 [ 0 ] - p2 [ 0 ] ) * ( p1 [ 0 ] - p2 [ 0 ] ) + ( p1 [ 1 ] - p2 [ 1 ] ) * ( p1 [ 1 ] - p2 [ 1 ] ) ) ; NEW_LINE DEDENT