Implement the double loop linklist