cpp implementation for cs
Merge pull request #327 from ghostsnstuff/cocktail-sort-cpp

cpp implementation for cs