Use library function to pretty-print grid.
This kind of printing is no longer necessary.