I created a brute force version on a Commodore that’s truly horrible, but it does work. Had to change the states to integers and borders to letters because of my system limitations. I’ll get it in Github tonightish