input: Write a python function to filter customers based on their name from a given list of customers.
  assert filter_customers([{'id': 1, 'name': 'Alice'}, {'id': 2, 'name': 'Bob'}, {'id': 3, 'name': 'Charlie'}], {'name': 'Alice'}) == [{'id': 1, 'name': 'Alice'}]
  assert filter_customers([{'id': 1, 'name': 'Alice'}, {'id': 2, 'name': 'Bob'}, {'id': 3, 'name': 'Charlie'}], {'name': 'Bob'}) == [{'id': 2, 'name': 'Bob'}]
  assert filter_customers([{'id': 1, 'name': 'Alice'}, {'id': 2, 'name': 'Bob'}, {'id': 3, 'name': 'Charlie'}], {'name': 'David'}) == []
output: def filter_customers(customers, criteria):
      return [customer for customer in customers if customer['name'] == criteria['name']]