Improved floor generation algorithm, and prevented loops from occurring in the future on generated floors.