basic trie tree iterator implement and fix iterator's some bugs.