iteration 2 complete

added methods to get next unconnected node by shortest path
added method to get minimal spanning tree