I'm trying to remove a card from a deck of cards if 2 values are equal to each other. The equality is detecting whether or not the 2 values are matching (explained in the code) but I can't figure out how to remove the 2nd to last card in the array if it matches.I'm trying to remove a card from a deck of card