Creating a table using javaScript and logging it in the console.

Features/Logic: