This is the public repository for code that accompanies my article on tutsplus.com: http://gamedevelopment.tutsplus.com/tutorials/bake-your-own-3d-dungeons-with-procedural-recipes--gamedev-14360
It has also been re-published on gamasutra: http://www.gamasutra.com/blogs/MarcinSeredynski/20140321/211068/Bake_Your_Own_3D_Dungeons_With_Procedural_Recipes.php