Logic to select the next cell based on a list of neighbours
Optional
Readonly
Returns neighbours for a given cell in a grid
Select a neighbour from given list
Logic to select the next cell based on a list of neighbours