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