Area and Perimeter can be calculated for rectangles