Next Permutation In Lexicographic Order