Linked list reverse alternate node and append solution