input: from typing import List
  
  def find_maximum_element(array: List[int]) -> int:
      """Find the maximum element in the given array.
      >>> find_maximum_element([1, 10, 50, 3, 8])
      50
      >>> find_maximum_element([0, -1, -5, -3, -2])
      0
      """
  
output:     if not array:
          return None
      max_element = array[0]
      for num in array:
          if num > max_element:
              max_element = num
      return max_element