Change function names to avoid clashes
Add quick sort with randomised pivot selection