input: Write a python function to search for a query in an array of strings and return a list of strings containing the query.
  assert searchArray(["apple", "banana", "pear", "kiwi"], "ana") == ["banana"]
  assert searchArray(["cat", "dog", "fish", "elephant"], "a") == ["cat", "elephant"]
  assert searchArray(["apple", "banana", "pear", "kiwi"], "pe") == ["apple", "pear"]
output: def searchArray(arr, query):
      return [s for s in arr if query in s]