Added function 'combinations'