Update trie.h

Adding ID type to Node structure.