Added comments, started work on min spanning tree