add linked list has cycle