Create Algfactory.cpp