Update split_array.rb