input: Write a python function to find the maximum element in an array.
  assert findMaxElement([10, 15, 20, 11, 99]) == 99
  assert findMaxElement([1, 2, 3, 4, 5]) == 5
  assert findMaxElement([-1, -2, -3, -4, -5]) == -1
output: def findMaxElement(arr):
      return max(arr)