Added a torus-like component to the grid. Each edge is now neighbors with the opposite edge.