Implementing combination string generator