change name of methods and atributes. Create a new method named 'minimumWeightSpanningTree' replacing 'sortedEdges'