I\'m currently working on a "dots and boxes" program and I can\'t make good algorithm(heuristic). Can anyone help me or does anyone have a code in python?