The first program is finish.
The last quicksort was bugged. It's correct now.