Create split_array.rb

A filter to yield events from an array