Quicksort

A generic implementation of quick sort