[Circular list] Added Brent's algorithm in ANSI C program