This program returns an array containing combination of items in an array or characters in a string. It is capable of returning all the possible combinations as well as 'r' objects being selected from 'n' objects, C(n, r).