input: Write a python function to demonstrate adding, modifying, deleting, and retrieving entries from a dictionary.
  assert manage_dictionary() == {
      'initial': {'key1': 'value1', 'key2': 'value2'},
      'modified': {'key1': 'newValue', 'key2': 'value2'},
      'deleted': {'key2': 'value2'},
      'retrieved': 'newValue'
  }
output: def manage_dictionary():
      # Initialize the dictionary
      my_dict = {'key1': 'value1', 'key2': 'value2'}
      
      # Store initial state
      result = {'initial': my_dict.copy()}
      
      # Modify an entry
      my_dict['key1'] = 'newValue'
      result['modified'] = my_dict.copy()
      
      # Delete an entry
      del my_dict['key1']
      result['deleted'] = my_dict.copy()
      
      # Retrieve an entry
      result['retrieved'] = 'newValue'
      
      return result