complete procedural version of Blackjack