Alpha Beta Pruning & Minimax implementation in Python