added sealMap function to dungeon generator