6.00.2x-CS-Python: PS5, add weighted edge and graph.