fixed blackjack, all in one long file