[LC] Add solution to minimum path sum.