Well, I was making a better procedurally generated map with actual rooms and stuff, but I realized I was running out of time, and had to use simple maze generation code. Generating mazes is pretty simple stuff.