The area of covered rectangles, also show hashcode and equals methods