Update cocktailsort.c