adds quicksort and notes