So I have this code, I\'m trying to get the sum of n elements of the pr[a][a] matrix. What my code does is create 2 2D arrays, ar is for sorting the elements in it (see this as