carve_mst function

Carve a Minimal Spanning Tree Out