Added CocktailSort and GnomeSort plus tests