input: Write a function to edit a nested dictionary by adding a new element.
  assert edit_dict({'a': 1, 'b': 2}, {'c': 3}) == {'a': 1, 'b': 2, 'c': 3}
  assert edit_dict({'makers': ['John', 'Alan']}, {'printers': ['hp', 'canon']}) == {'makers': ['John', 'Alan'], 'printers': ['hp', 'canon']}
  assert edit_dict({'x': {'y': 1}}, {'z': 2}) == {'x': {'y': 1}, 'z': 2}
output: def edit_dict(original_dict, new_element):
      original_dict.update(new_element)
      return original_dict