Python Connect4 game with AI using MTD(f) algorithm