input: Write a python function to merge two dictionaries.
  assert merge_dicts({'name': 'John', 'age': 25}, {'company': 'Google', 'city': 'New York'}) == {'name': 'John', 'age': 25, 'company': 'Google', 'city': 'New York'}
  assert merge_dicts({'a': 1, 'b': 2}, {'b': 3, 'c': 4}) == {'a': 1, 'b': 3, 'c': 4}
  assert merge_dicts({}, {'d': 5}) == {'d': 5}
output: def merge_dicts(dict1, dict2):
      merged_dict = dict1.copy()  # Create a copy of the first dictionary
      merged_dict.update(dict2)   # Update the copy with the second dictionary
      return merged_dict