Adding quick sort algorithm