blackjack code from solutions