getWords.cpp