Documentation
Fixed min/max, added pairs function

- Fixed min and max functions, which were useless.
- Added pairs function. See documentation.