Updated InputForm.cs and Solver.cs to use a callback to display solutions in real time