Added Kruskal's algorithm to maze generation