Basic version of loop pattern detection is working
Basic version of loop pattern detection is working