Chess implemented in grid world