topcoder: added BadNeighbors