Added permutateLexicographically sub module.