input: Write a python function to create an instance of the GameController class, update the game state, and return the updated state.
  assert update_and_return_state(5, 100, 2) == {'lives': 5, 'score': 100, 'level': 2}
  assert update_and_return_state(2, 200, 3) == {'lives': 2, 'score': 200, 'level': 3}
  assert update_and_return_state(0, 50, 1) == {'lives': 0, 'score': 50, 'level': 1}
output: class GameController:
      def __init__(self):
          self.state = {
              'lives': 0,
              'score': 0,
              'level': 1
          }
  
      def update_state(self, lives, score, level):
          self.state['lives'] = lives
          self.state['score'] = score
          self.state['level'] = level
          return self.state
  
  def update_and_return_state(lives, score, level):
      game_controller = GameController()
      return game_controller.update_state(lives, score, level)