Bug fix

Fixed bug where cells would wrap around to opposite end of the board.
This doesn't happen any more.