ruby calculator for terminal