Update trie.cpp

Adding initialization of RootID.