finished blackjack logic