refactored blackjackoo.rb