implementation

implement linked list cycle