John:
> The other goes from B to D to C and its cost is 5+6=1

Unless we're working in \\(\mathbb{Z}/10\mathbb{Z}\\), I think that should equal 11!