This program calculates the words in text then displays top 50 words and their frequency.