add solution for path sum II and updated code for path sum.