Example of using a double linked list in c.