Working Quick Sort

Working Quick Sort with debug messages still included. Has only been
tested using int but should be easily transferable.