More changes to minimax algorithm.. BTW alpha-beta pruning is an extension of minimax algorithm.