Started the minimax algorithm