problem
A shapely network
Your challenge is to find the longest way through the network
following this rule. You can start and finish anywhere, and with
any shape, as long as you follow the correct order.