Deduplicate a doubly linked list 

What is going on with this spelling of 'node'? This is not easy to read :(