Word Break O(n^2)