added trie.cpp