merged in Anselms c++ minimax