Add combinations routine.