Fixed error messages in Solver.
Merge pull request #32 from Winston-Chan/nathan

Fixed error messages in Solver.