Assignment 5 - Problem 3 (draft - ignoring weights)
Assignment 5 - Problem 3 (support weighted edges)