Fixed maze generation and removed some debug stuff.