Create Flatten.rb