added solveQuestion method
added solveQuestion method