completed exercise using console.log using nested arrays