Find the Minimum Weight Spanning Tree using Prims Algorithm