Wrote maze generation

nailed down the recursion for the cycling through the maze spaces