nim comments on Self-Help Corner: Loop Detection