renamed basic_structures to trees.rb and added build_tree and add_node method for Tree class