Adding has path sum.