rename DoublyLinkedList to Polygon, cleanup