Added the "min" procedure
Added the "max" procedure