Update mergesort.rb

got rid of recursion in sort and count step because it was causing a stack-level-too-deep error