A Goal Oriented Approach for Solving Mathematical Multi-step Word Problems