This is LaTeX code:

[latex]
\begin{bmatrix}
O & O & O & O \\
O & O & O & O \\
O & M & O & M \\
X & O & O & O
\end{bmatrix}
[/latex]