Update sort.rb

initial implementation of cocktail_sort