Changed the structure of word-break.py