Update calculator.rb

Introducing the "switch" in java, eqv to "case" in python and ruby. Ok I just wanna play with ya :)