Implements the max-plus and min-plus algebras. Here, they are semi-fields.

TODO: show example with path finding and matrix solution