Adding cocktail sort