Finished quick sort and simple tree.