how to write a confusion matrix in python?,"array([[3, 0, 0], [0, 1, 2], [2, 1, 3]])"