Print an nxn matrix diagonally. Implemented in a very peculiar way.