Ruby implementation of blackjack