remove console.log statements from Trie implementation