Update sort.rb

initial implementation of counting_sort