In case anyone finds it useful, here it is. I employed backward induction, which means calibration time, and my solver is disgustingly primitive, but it is simple and it works. And it uses memory.
Usecase is: