Adding minimum path sum