Generate all words of a given size from a fixed alphabet

Thanks!