Implement neighbors()