Kruskal and Prim now extend LabyrinthBuilder