Create solver.cpp