implement quicksort partitioning, more unit tests