Added Cocktail sort in Lua

Hi,

Added [Cocktail sort](http://en.wikipedia.org/wiki/Cocktail_sort) algorithm implementation in Lua, with tests.

Regards,
Roland.