Fun with reversing linked lists