Introduction - If you have any usage issues, please Google them yourself
According to the four points in the first quadrant (both coordinates are in the 0 to 20), to determine whether they can form a rectangle, and then determine whether the rectangle is a square, and outputting the related information. Some errors in the process throws exception.