Edge

typealias Edge = Pair<Double, Int>

Edge has a weight w to a destination node v