added the beginning of dungeon generation