Simple example of multithreading program for counting words in txt files in the folder, at the end top 10 used words are printed.