Added alpha-beta pruning