arrays.rb

demonstrate some functions of array.