rewrite dungeon generator to use cellular automaton