Tag - detect cycle in linked list c++

X