Added delete function on Nodes