Python 557: String word reverse

https://leetcode.com/problems/reverse-words-in-a-string-iii/