Console.log Not Printing After Loop Functions

It still doesn’t need two nested loops though. It would be far easier to see what is actually happening with just one loop.