Implemented Section class to make rectangles more orderly