Added functions to begin creating trie struct