- add function to count directed outgoing edges - generate correct instruction for staying on a roundabout - move test from @bug namespace to the general one