結果 : python write matrix to txt file