http://oj.leetcode.com/problems/word-break/