My solution to blackjack