Working on freeing node list