Working maze generation algorithm! Yay!