[new] print square matrices diagonally
[add] general case for an n by m matrix