Created CombinatoricsHelper class.