Subclassing Polygon from Line