Using rand-nth to simplify the call in quick_sort.
Adding randomised_selection algorithm.