working on alpha-beta pruning