add comments
use PrintWriter to dump trie.
delete unused imports.
add TrieSet and TrieMap. implement MapPatriciaTrie.