added kruskal's algorithm.
used a different function call in kruskal's algorithm.
added path finding algorithm using BFS.