flyweight

simple implementation of the flyweight design pattern