結果 : iterate over 2d matrix python