Updated modified sub modules.
Updated permutateLexicographically procedure.