Finally implemented the destructor of maze. I guess we're done here :)