create_comparisons function

create comparisons