rewriting trie.cpp/h
rewriting trie.cpp/h
fix dispose bug in trie.cpp