Fill in some more helper functions for the calculator, that will be used to test for correctness later