z1 finished, qsort implemented