add min and max functions
Add basic unit tests for min() and max()
forgot to add the tests the first time
Merge pull request #23 from gsarkis/min-max

add min and max functions