Added alpha beta pruning