Gosper's Loop Detection Algorithm

From dankwiki