finds empty spaces on the board