update second trial of linked-list-cycle