marmia-circle-algorithm algorithms and data structures I - PUC RS Implementation of a doubly circular linked list and an algorithm to solve marmia's circle problem (adding nodes to the list in a particular way)