A ruby implementation of blackjack