File Handling Task 6
I have created two array list one for storing the unique words and other stores the frequency of the unique word in the same index as of word for this purpose I uses a nested loop to collect the unique word and then increase the frequency