only mark squares that are horizontally or vertically adjacent, not diagonally adjacent