modified trie.c stri.h