loadTrie() to load dictionary from text file