Solution for Word Break.
Solution for Word Break2.