Refactoring calculator method with new test and convert tab to spaces
Convert tab to spaces