I am using
\begin{document}
\begin{tikzpicture}
\foreach \x in{0,...,4}
{ \draw (0,\x ,4) -- (4,\x ,4);
\draw (\x ,0,4) -- (\x ,4,4);
\draw (4,\x ,4) -- (4,\x ,0);
\draw (\x ,4,4) -- (\x ,4,0);
\draw (4,0,\x ) -- (4,4,\x );
\draw (0,4,\x ) -- (4,4,\x );
}
\end{tikzpicture}
\end{document}
to create cubes. However I would like to numerate the cells inside the cube. Any idea how I could do it?