GenerateNeighbour method added