clrs; exercise 10.2.8 - XOR doubly linked list