Write a program which takes as input 4 points and tell whether these pointsare the coordinates of Rectangle, Square or Quadrilateral.Sample Input: P1 0 0 P2 1 0 P3 1 1 P4 0 1Output: Its a square