Implemented LinkedList version of circularList.