update palidrome? and count_words