Hmm, your source code looks familiar

nice to know it's going to good use.
I see you've put a bit more care into how it reads in the files, you've done a nice job with it. I'm surprised someone didn't make an optimiser for it sooner, it's such a crude algorithm but it works so well here.
Please feel free to make whatever you want with it, just as long as I get some credit