database
populates database
now can draw square on lattice