Wrote determineClassifierPairs which determines all the paires that need to be calculated