Implement quicksort with first elemenet pivot