Attaching a branch that seems to make it work for me, on cursory inspection. It's probably all wrong etc. so not bothering to write tests. Just an illustration.
Attaching a branch that seems to make it work for me, on cursory inspection. It's probably all wrong etc. so not bothering to write tests. Just an illustration.