Added quick sort algorithm