Returns the square of distance between two input points
int sqDist ( pair < int , int > p1 , pair < int , int > p2 ) { return ( p1 . first - p2 . first ) * ( p1 . first - p2 . first ) + ( p1 . second - p2 . second ) * ( p1 . second - p2 . second ) ; }