Updates to makefiles, added internal qsort method for experimental algos.