Implemented a few of the easy functions of the trie.