Code for precision/recall.
List comprehension WIP.