A quick C# script that will generate a 2D maze and populate it with supplied modular units (intended for use with Unity3D)