create_matches function

Algorithm to find best matches from the comparison pool