Determines the average amount of comparisons that are used for each searching and sorting algorithms