Almost done...

Walls have to have a certain distance from other walls, the player, and
the end point

And for some weird reason the game doesn't find the solution
sometimes...