testing calculator

console.log for test of function