fun two(edges: Pair<Edge, Edge>): Int
Number of paths labeled l2 from nodes in middle to nodes in in.