Implemented legalNeighbors