結果 : implement minimax algorithm in python