Updated the max and min methods of the underscore file