AMT Trie in C