Add Combination N of M Algorithm.