a simple ruby calculator