input: Write a python function to compute the maximum dot product of two arrays.
  assert max_dot_product([1, 2, 3], [4, 5, 6]) == 32
  assert max_dot_product([0, -1, 2], [3, -4, 1]) == 2
  assert max_dot_product([1, 3, -5], [-2, 4, 1]) == 3
output: def max_dot_product(arr1, arr2):
      arr1.sort()
      arr2.sort()
      return sum(x * y for x, y in zip(arr1, arr2))