Counts the frequency of words present in all .txt files in a directory
there are three file edit the path to directory of .txt file in any of these files before using
code1.. It uses multiplethreads, each thread to one text file. code2.. It uses normal for loop code3.. uses both the above and compares the result