Create flyweight.cpp