http://project-gc.com/Challenges/GC46QN7/430
Please test and verify that it seems to produce the result you expect. Feel free to leave a comment about your result.
I needed to test the new checker system anyway, so I spent two hours implementing it. It shouldn't take more than 30 minutes, but I haven't touched LUA in about 1 year now, took some time to get started.
Also found a few smaller issues with our new checker system that I took the time to correct.