結果 : sum of boundary elements of matrix in python