In this code from TikZ (finite) grid with character in each cell
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}
\draw[step=0.5cm,color=gray] (-1,-1) grid (1,1);
\matrix[matrix of nodes,nodes={inner sep=0pt,text width=.5cm,align=center,minimum height=.5cm}]{
A & B & C & D \\
E & F & & H \\
I & J & K & L \\
M & N & O & P\\};
\end{tikzpicture}
\end{document}
I would like to delete the top and left edges of the grid.
I have found solutions using nodes but much prefer this one with a matrix.


