Calculates the mean, median, and mode of a series of user inputed values. Implemented using quicksort.