Alternately reverse a linked list