most frequent word in a string c++