Update SegmentWords.py