added the math problem var "total"
added console.log  to get the answer