Implement some of the Min/Max functions

The documentation is copied from the containers package with some minor adjustments to the examples.