Naive Java implementation of a quicksort algo