Split ProcessNeighbours() from ProcessFlow()

So it can be use for wall placement as well.