add solution for permutation sequence.