make in grid class neighbours