Python implementation of blackjack