add an example of flyweight pattern.