add findPrefix into trie.cpp