add in Singleton and Factory Method practice problems