add linked list cycle and II