Added neigbors function