implemented print cards in "CardDeck"