fixing path sum II bug