add demo.rb and array.rb