updates for viewProblem and step-builder
viewProblem updates
removed unnecessary variables in viewProblem
preparing to reconstruct showAllSteps