input: Write a python function to find the closest match from arr2 for each element in arr1.
  assert closest_match([1, 3, 7], [10, 20, 30])==10
  assert closest_match([10, 15, 20], [5, 25, 35])==25
  assert closest_match([2, 4, 6], [1, 3, 5])==1
output: def closest_match(arr1, arr2):
      result = []
      for num1 in arr1:
          closest = min(arr2, key=lambda x: abs(x - num1))
          result.append(closest)
      return result[0] if result else None