Create calculator.rb

This is a basic calculator in ruby that can be improved in some ways but unfortunately isn't due to lazyness.