solve the word break problem.