Added primsMST and modified primsSimple