Fixed little bugs in trie.hpp