Add solution wordBreak.