Initial implementation of a patricia-trie str->boolean.