Added max and min number functions. [SE]