Sample code to generate a random combination