The input is a Python function that defines the match structure. You should define two things:
play_fn: a function that takes two arguments: the current state of the match and a boolean indicating whether the next point is won by the player 1 or 2. The function should return the new state of the match. If the match is won by player 1, the function should return GameEnd.WIN, if player 2 wins, GameEnd.LOSE, and if the match is not yet won, the function should return the new state of the match.s0: the initial state of the match.The example here is a 7 point tiebreaker. Edit it to define your own match structure.