Greedy WordWrap algorithm works.