- Implementation of quick sort.