This "simple" nail puzzle has kept me amused for hours

Nail puzzle? Or a poor man’s chain link.