Implemented neighbour search operation on Grid class