done - minimum search tree using prims