console.log's added

Console.log’s added to have answer show in console.