working on trie.c