This is LaTeX code:

[latex]
p=\left(
 \begin{array}{ c c c c }
 1 & 2 & 3 & 4 \\
 4 & 1 & 3 & 2
 \end{array} \right)
[/latex]