Changed Grid.py so that w1... are the walls, and x, y, z etc. are the
central coordinates.