Create GenAlgFun.cpp