input: Write a function to search for the indices of all elements in a list that match a given search query. If the list is empty, return an empty list. If the search query is not found in the list, return an empty list. If the search query is found, return a list of indices where the query matches.
  
  def search_list(list, search_query):
      result = []
      for i in range(len(list)):
          if list[i] == search_query:
              result.append(i)
      return result
  
  assert search_list(["apple", "banana", "peach", "orange", "grape"], "apple")==[0]
  assert search_list(["apple", "banana", "peach", "orange", "grape"], "banana")==[1]
  assert search_list(["apple", "banana", "peach", "orange", "grape"], "grape")==[4]
  assert search_list(["apple", "banana", "peach", "orange", "grape"], "kiwi")==[]
  assert search_list([], "apple")==[]
output: def search_list(list, search_query):
      result = []
      for i in range(len(list)):
          if list[i] == search_query:
              result.append(i)
      return result