3-way quick sort: still have bugs