Added maze generation algorithm.