Added Cocktail sort in Lua