updated nested_arrays.rb