add solution for SpiralMatrixII
add solution for PermutationII