changes in addnodes
Merge pull request #21 from gargshashank5/selfedge

changes in addnodes