Finished DSelect O(n) algorithm, about to debug