added simple quicksort implementation