Molecule on a lattice

I was simulating a large system consisting a no of ring polymers . As a initial conditions I want to place all the ringpolymers as a closed packed structure .
image
Like the image above .each circle representing a ring polymer .
How can I create this using lattice command and creating molecule on the lattice using create atoms command in lammps ?

This is explained in the manual. Do you have any specific questions about that? What exactly have you tried?