created the confusion matrix.