adding LoadGrams for loading trie with ngram content