Fixed newNeighbours to omit circular paths