Solving Algebraic Word Problems Step Functions