Press space to spawn clones at your mouse pointer. Drag the goal to change the path, and the clones will try to find a way to it. Press r to reset the level. Press n to go to the next maze. Press p to activate pen, causing clones to leave a trail behind them. If the program lags, try here: https://turbowarp.org/558705457.
Thanks to @griffpatch for the tutorial on pathfinding: https://www.youtube.com/watch?v=K1GwbqpAfLQ. The mazes were generated at http://www.mazegenerator.net/.