A Trie data structure in Objective-C