Update Program.cpp

ajout de la function solve (compilation unchecked)