added quick sort, but it doesn't work