cards_matrix: an n x n matrix where each element is a list
representing a card.
updated_deck: a list representing the remaining deck after n^2
cards have been dealt.
Arguments
deck
A dataframe representing a deck of cards, with each row being a
a card. The parameter is designed to take mmcards::shuffle_deck() or
mmcards::i_deck() as input.
n
A single integer representing the number of rows and columns in the
grid (i.e., the grid will be n x n). This parameter is required and
does not have a default value.