added confusion matrix function
added print out of confusion matrix