Implmentation of Minmax and Alphabeta search method from AIMA in python