Update taskSolver.cpp

Last Version 2.0