Add cocktail sort

Fixes #11