input: Write a python function to search for a target element in an array and return True if found, otherwise False.
  assert search(5, [1, 2, 3, 4, 5]) == True
  assert search(10, [1, 2, 3, 4, 5]) == False
  assert search('a', ['a', 'b', 'c', 'd']) == True
  assert search('z', ['a', 'b', 'c', 'd']) == False
output: def search(target, array):
      return target in array