updated reverse_words_in_string.py