Matching cards in a deck