Some example of array methods in Ruby