Added quick sort algorithm.