update find-words.cpp