newer version of minimax. mmttt.py closest to working