Added alpha-beta pruning from pruning branch