add `compare` module with comparators

Take two. The heap code will follow later.
Just as an experiment: https://github.com/apasel422/cmpexp