Finds max and min