Code So Far

Not particularly beautiful, but it seems to work for our very specific
example.