Word Break II

Exercise from LeetCode, it is accepted