rough working version of blackjack