Update rank_word.py