Completed classRectangle