28.issue: in case of negative path sum, wrong answer