add `compare` module with comparators

Take two. The heap code will follow later.
Well collect-rs is for experiments...

Maybe we could try it after landing this version. I think it's cute, but I'm sure others will disagree.