finish simple minimax, debugging