a trie in C