Visualizing the content of a 2D array