input: Write a function to search for an element in a list.
  assert search([1, 2, 3, 4, 5], 3) == True
  assert search([1, 2, 3, 4, 5], 6) == False
  assert search(["apple", "banana", "cherry"], "banana") == True
  assert search(["apple", "banana", "cherry"], "grape") == False
output: def search(lst, element):
      return element in lst