Finished getNeighbors().