Periodic orbits of the planar N-body problem with equal masses and all bodies on the same path