Removing dead code
Cleanup of quicksort and take,drop; introduced slice.