added example of Flyweight design pattern with creating rectangles