add linked list cycle and its test