First working version of blackjack