(1) the attributes of a class x, y, respectively is the abscissa and ordinate points,
(2) the rectangle class the rect including rectangular corner and the upper right corner of the two points,
(3) the rectangle class the rect including the calculation of the rectangular area method,
(4) constructor, initialize the data members
(5) to write the main function, complete testing,
