Using MathChat to Solve Math Problems