console writer to print 2-d array