adding calculator.rb