Generate molecular coordinates on a lattice.
Box length can be given as input. Works with lattice.py