Playing around with a ruby calculator