added file to detect loops in linklist