Word Break Problem Solution 2