adding in implementation class of Trie
added in node class