Update SimpleFactoryPattern.cpp