Fixed issue with upper bound of second partition in quicksort.
Added comparison counter to quick sort.
Added PivotRule interface.  Instead of subclassing QuickSort, a PivotRule
is passed in its constructor.
Added 'median of three' pivot rule.
Assignment 2 of online course.