quick sort algorithm using middle pivot and xor for exchange
input/output file