more updates for maze generation