A very basic bitwise trie implementation in c