binary quicksort moved to separate class