結果 : sum of diagonal elements in 2d array java