adding array.rb