Merge pull request #8 from chrisjluc/master

Added kruskal's algorithm.