input: Write a function to take a list and a search query as input and return the indices of all elements in the list which match the search query. If no elements match the search query, return an empty list.
  
  Input:
  list = ["apple", "banana", "peach", "orange", "grape"]
  search_query = "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
  
  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"], "orange")==[3]
  assert search_list(["apple", "banana", "peach", "orange", "grape"], "mango")==[]
  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