Generating string combination - recursive