Code for blackjack game, written procedural style (not OOP).