input: Write a python function to find the minimum and maximum elements in an array.
  assert find_min_max([45, 2, 84, 33, 8, 1, 2]) == (1, 84)
  assert find_min_max([5, 3, 9, 2, 8]) == (2, 9)
  assert find_min_max([4, 4, 4, 4]) == (4, 4)
output: def find_min_max(arr):
      return (min(arr), max(arr))