add solution for permutations
add solution for minimum path sum.