結果 : transform list into matrix python