c. Cocktail Sort