A shopping list using the flyweight pattern