new class [rectangles] - This class is  drawing rectangles