A simple calculator in ruby