add quick sort and heap algorithms