fn parse_input(input: &String) -> Network<'_>
Build a network from lines like ab-cd denoting that ab is directly connected to cd.
ab-cd
ab
cd