An implementation of a doubly linked list using only one reference per node