Calculator, Ruby exercises and blackjack game