Added layer generation for dungeons and random levels