結果 : check if 2 matrices are equal python