added recursive solution

recursive solution for generating all combinations of an array