implement js cocktail sort
Merge branch 'cocktail-sort-javascript' of https://github.com/ghostsnstuff/Algorithm-Implementations into cocktail-sort-javascript