added a slower algorithm to compute the longest increasing subsequence
corrected randomization range in the randomized version of quicksort