結果 : python write matrix to text file