algorithm works well, although is constrained by memory
I also need to calculate the "best" play from the eyes of the player, I haven't fixed that yet