Python 179: Word break

https://leetcode.com/problems/word-break/