Algorithms: Design and Analysis, Part 1
Pivot point based on median of 1st, middle and last element