Copyright 2023 Christos Chartomatsidis
This simple algorithm creates a random maze using reversed Primms algorithm for minimal spanning trees.
The maze is in the form of an array, and depicted dynamically in the canvas.
This is to be used for old-school retro RPGS.