Update match-words.cpp