Quick Sort Implementation

Generic quick sot implmentation