added the code to return tru positives and true negatives without writing the code for getTPFP and checkifpositive