input: Write a python function to simulate a game where points are awarded for correct answers and the game ends on a wrong answer.
  assert simulate_game(['correct', 'correct', 'wrong']) == 20
  assert simulate_game(['correct', 'wrong', 'correct']) == 10
  assert simulate_game(['wrong', 'correct', 'correct']) == 0
output: def simulate_game(answers):
      points = 0
      for answer in answers:
          if answer == 'correct':
              points += 10
          else:
              break
      return points