Generates all possible integer sequence of lenght n from an alphabet with M letters.
Generates all possible integer sequence of lenght n from an alphabet with M letters. Use lexicographical ordering. Memory allocation here.
Alphabetic index