Print words in the string in reverse order