Separated GetNeighbours() from ProcessNeighbours()

To be able to re-use the code