Print all combinations of array