Task:
Note that each letter is represented exactly twice in the right diagram. The object of the game is to find as many matching pairs as possible. Each round of gameplay should do the following:
1.Print the board. Previously matched cards should show the matched letters.
2.Ask the player if they’d like to Find a match (F) or Quit (Q)
3.If the player chooses Find, ask for the two cards in row, column format. Make sure that the cards are not the same card(e.g., player chooses card 1,1 and 1,1) and that neither card has already been matched. If either of these cases is true, then prompt the player to choose new cards in row, column format.
4.After each choice, tell the player how many points they have. They get a point for every matching pair of cards.
5.Print the player’s final number of points if they choose to Quit (Q).
If there are no cards left to play (all matches have been found) the player wins and the game should print their final points and end. See the Expected Output section for more details on gameplay.