Implement the compare method of the following class RectangleComparator. The method compares two rectangles.
The method should return:
A positive integer if the area of the first rectangle is larger than the area of the second rectangle A negative integer if the area of the first rectangle is smaller than the area of the second rectangle 0 if the two rectangles have the same area.