This is a simple maze structure utilizing the vanilla jigsaw system used to generate structures such as villages and Nether fortresses.
This shows roughly all the parts included (paths, the center, flags, turns, dead ends, bonus rooms).
Here this is where all the parts are located, so that you may easily see how each part is set up for reference.
ya
im a-maze-d