made an add node operation
can insert nodes in node list