Diagonal Difference

Task: Given a square matrix of size N x N, calculate the absolute difference between the sums of its diagonals.