A Picturesque Maze Generation Algorithm with Any Given Endpoints