further development printing out multidimensional arrays