Completed permutateLexicographically procedure with minimal features.
Updated convertToSequence sub module.