結果 : transform list to matrix python