objc: linked list cycle detection example