reverse words in several strings