Adding calculator.rb with the fac method