Changed calc_words function to return words dictionary
Changed request to enter not only path to directory, but also enter name of statistics file.