finished the calculator and testing environment