Simple script to return diagonals of matrix of NxN