Removed superfluous methods from Trie

The toDict method was only used for debugging purposes