Added getAllPermutations() and getPowerset() in Random module.