Reverse words in a string

fix bugs