Added PreparePairIDs (responsible for creating a list of pairs) and PreparePairs(responsible for
    creating comparison objects for every pair)