creating a dungeon generator script in unity