adapted blackjack.py to work with cards module