add `compare` module with comparators

Take two. The heap code will follow later.
`compare_gt` is so much less ergonomic to use than `>`. Maybe a macro would help? `compare!(&v[node_min] > &v.node_max)`?

Feel free to push back on this. Macros are scary.