added C versions of trie and bstree