add minimum path sum solution