Updated QuickSort and added functions to the sort algoritm tester