first attempt at blackjack code