Create tree.rb