Create genericFunctions.cpp