finished 02_calculator without refactoring