Added list cycle detection problem.