Implement neighbors, legalNeighbors