Add map function
Don't get stuck if we run out of cells to dig out

We sometimes run into a situation where every non-empty cell we
have while digging out the board will result in non-unique solutions.
Instead of backtracking (like we should do), we simply result, since
this is fairly rare