It's alive! Kinda. Mostly. Almost. Better than dead.

The algorithm seems to be working correctly. So far.
README