MIN function

Returns the smallest value in a range