created a function for the math of everything added together with a return and a console.log for the result