solve problems involving combinations