結果 : matrix multiplication in python with user input