Translating Word Statements into Algebraic Expressions