quick sort

quick sort with recursion, and nth max