[LC] Added solution to path sum.