Add solution to linked list cycle