finish Trie.java;finish match hack