add `compare` module with comparators

Take two. The heap code will follow later.
Haha I love this line of thinking! Too bad it doesn't work out. :)

With the right spacing, it could even look like `cmp< (lhs, rhs)` and be kinda-function-like.