Update max-series-array.rb