結果 : how to populate a matrix in python