error in word-problems.js fixed