Update calc.rb

Changed the regex to permit modulo "%" and exp "^"
Merge pull request #40 from GabrielBeauchamp/patch-1

Update calc.rb