Method to recursively return max and min of values or iterables in array
Args:
arr: (numpy array), an array of values or iterables
Returns:
(tuple), tuple containing max and min of arr