Thanks Impixi, this is the first piece of Monky 2 code I was ever able to compile!
The mazes it makes are not quite complete- they have numerous “dead” ends and there is no single complete path from one side to the other- in other words, there is not one entrance and one exit.
A shame there is only 10 examples of code and over 1800 posts looking for help with Monkey 2.