Added console.log for the variables

This shows the givens in the console.