Return and assign pointer from AddNode