Coloring rectangles