A Haskell implementation of crit-bit trees.