Switched the nextCombination() method to use recursion.