Added cocktail sort implemented in C++