First pass at a linear-recursive algorithm for maze generation (to avoid bottoming out stack depth with simple recursion)