[Course text] Fix declaration of method replaceMatchingWords.
Wrong return type "std::vector" instead of "std::vector<std::string>"