add solution for path sum problem