change some codes
Now, it can work correctly.It can show highest frequency of ten words.