added a method which prints confision matrix