Changed AddNode to return the node created/or not