Fixes off-by-one error in quicksort

Quicksort, with parametrized cutoff to insertion sort, is working, as is
insertion sort. Added functions to generate random data for
benchmarking, but for now they just test a single run.