A Trie in Swift