Generate Numbers With Given Digits