def node(name)
      name = name.to_sym
      @nodes.detect{|node|
        node.name == name
      }
    end
def node(name)
      name = name.to_sym
      @nodes.detect{|node|
        node.name == name
      }
    end
Looks up a Node by name and returns it.