Updated trie and suffix tree implementations and one exercise