Updated rangesort.cc, mostly tested preprocessing, testing search