added heapsort and fixed qs to show all
more quicksort optimizations