I have the following code for a cube:
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[scale=1.7,> = latex]
\pgfmathsetmacro{\cubex}{2}
\pgfmathsetmacro{\cubey}{1}
\pgfmathsetmacro{\cubez}{1}
\draw[black,fill=yellow] (0,0,0) -- ++(-\cubex,0,0) -- ++(0,-\cubey,0) -- ++(\cubex,0,0) -- cycle;
\draw[black,fill=yellow] (0,0,0) -- ++(0,0,-\cubez) -- ++(0,-\cubey,0) -- ++(0,0,\cubez) -- cycle;
\draw[black,fill=yellow] (0,0,0) -- ++(-\cubex,0,0) -- ++(0,0,-\cubez) -- ++(\cubex,0,0) -- cycle;
\draw[|<->|,yshift=-.5em] (-\cubex,-\cubey,0)--node[below]{$b_0 \cdots b_m$}++(\cubex,0,0);
\draw[|<->|,xshift=-.5em] (-\cubex,-\cubey,0)--node[above,sloped]{$a_0\cdots a_l$}++(0,\cubey,0);
\draw[|<->|,shift={(.5em,-.5em)}] (0,-\cubey,0)--node[below,sloped]{$c_0 \cdots c_n$}++(0,0,-\cubez);
\end{tikzpicture}
\end{document}
I want to make an 3 dimensional array that is simmilar to the form of the cube, something like that, which has the same alignment and labels like my cube.

