Simple ruby calculator