adding precision and recall printing.