Printing the table cells of a nested array (a table)