functional command line blackjack game