Refactor blackjack.rb with play method