pub fn weighted_round_robin<T: Hash + Eq + Clone>(
    nodes: Vec<Node<T>>
) -> WeightedRoundRobin<T>