changed mergesort implementation to use generic types.
implementing quicksort algorithm.  still need implement randomized choosing of a pivot (or shuffling).