hw1-1 palindrom, count_words OK