squares and rectangles are arranged in different colors