touch array_extensions.rb
def sum, 0 if empty
sum passed