A ternary search trie implementation in Erlang.