Added Partition, needed by quick sort.