Trie in C