Homework for Flyweight and Proxy patterns.