Started some of the max/min finding functions