clean up
quick sort made pretty with xor and middle pivot