for item in set1:
    map(q.put, (-1 * magicComp(item, stuff) for stuff in set2))
max = []
while not q.empty():
    max.append(-1 * q.get())
Do a pairwise comparison of each element in two sets and return a top 3 ranklist