milestone 2 of project: second test, change in the calculator function